package cn.hfatec.shms.web;

import cn.hfatec.shms.base.ShmsBaseAction;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: panwb
 *
 * Date: 2015/11/17
 * Time: 13:18
 */
@Controller
@RequestMapping("/exception")
public class ExceptionAction extends ShmsBaseAction {

    @RequestMapping("/404")
    public String handler404() {
        return "exception/404";
    }

    @RequestMapping("/500")
    public String handler500() {
        return "exception/500";
    }

    @RequestMapping("/accessDenied")
    public String handlerAccessDenied() {
        return "exception/accessDenied";
    }
}
